﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using ePlanet.ArchiveMange.Models;
using DreamBuilder.Common;
using ePlanet.ArchiveMange.DataAccess;

namespace ePlanet.ArchiveMange.Services
{
    public interface IArchiveMenuService : IBusiness, IArchiveBase
    {
        /// <summary>
        /// 查询所有的档案类型数据
        /// </summary>
        /// <returns></returns>
         ArchiveMangeModal.ARCHIVEMENUDataTable GetAllArchiveMenu();


        /// <summary>
        /// 根据主键查询档案类型数据
        /// </summary>
        /// <param name="typeId"></param>
        /// <returns></returns>
         ArchiveMangeModal.ARCHIVEMENUDataTable GetArchiveMenuById(string typeId);
                /// <summary>
        /// 根据主键查询档案的基本类型ID
        /// </summary>
        /// <param name="typeId"></param>
        /// <returns></returns>
         int GetArchiveBaseIDById(int Id);

        /// <summary>
        /// 获取所有的基本档案编目
        /// </summary>
        /// <returns></returns>
         ArchiveMangeModal.ARCHIVEMENUDataTable GetAllBaseMenu();

        /// <summary>
        /// 获取用户有权限的编目
        /// </summary>
        /// <param name="list"></param>
        /// <returns></returns>
         ArchiveMangeModal.ARCHIVEMENUDataTable GetUserArhiveMenu(IList<string> list);
    }
}
